package com.sskj.alarm;

import com.sskj.xcs.HttpUtils;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Like
 * @Date: 2024/2/29 13:47
 * @Description:
 */
@RestController
@RequestMapping("/PushAlarm")
public class ZTAlarmController {

    @PostMapping("/AlarmEvent")
    public void alarmEvent(@Validated String param){
        System.out.println(param);
    }
    @PostMapping("/DeviceStatus")
    public void deviceStatus(@Validated String param){
        System.out.println(param);
    }

    @PostMapping("/sendDeviceAction")
    public void sendDeviceAction(@Validated String param){

        System.out.println(param);
    }
    @PostMapping("/sendChannelAction")
    public void sendChannelAction(@Validated String param){
        System.out.println(param);
    }


}
